//Vue核心代码
import {initMixin} from './init';
import {renderMixin} from './render';
import {lifecycleMixin} from './lifecycle';
import {stateMixin} from './state';
import {initGlobalAPI} from './initGlobalAPI/index';

function Vue(options){
   //初始化
    this._init(options);
}
//通过引入文件的方法，给vue原型上添加方法
stateMixin(Vue)
initMixin(Vue)
renderMixin(Vue)
lifecycleMixin(Vue)

initGlobalAPI(Vue)
export default Vue;